import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './style/element/element-variables.scss' // Element 样式覆盖
import './style/index.scss'
import request from '@/utils/request'
//如果报错可以使用
  import *as echarts from 'echarts'

Vue.config.productionTip = false

Vue.use(ElementUI, { size: 'mini' })

Vue.prototype.request = request
Vue.prototype.$baseUrl=process.env.VUE_APP_BASEURL
Vue.prototype.$echarts=echarts

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
